package com.tim.app.ui.activity.person_center;

import android.view.View;
import android.widget.ImageButton;
import android.widget.TextView;

import com.tim.app.R;
import com.tim.app.ui.activity.BaseActivity;

/**
 * Created by wdy on 2017/8/23.
 */

public class WithdrawalApplyActivity extends BaseActivity {
    private ImageButton ib_back;
private TextView tv_withdrawal_mun;

    @Override
    public void onClick(View v) {
        if (v == ib_back) {
            finish();
        }
    }

    @Override
    public void initView() {
        ib_back = (ImageButton) findViewById(R.id.ib_back);
        ib_back.setOnClickListener(this);
        tv_withdrawal_mun= (TextView) findViewById(R.id.tv_withdrawal_mun);
//        String string = getString(R.string.withdrawal_mun, "123");
//        tv_withdrawal_mun.setText(string);
    }

    @Override
    public void initData() {
        String money = getIntent().getStringExtra("money");
        String string = getString(R.string.withdrawal_mun, money);
        tv_withdrawal_mun.setText(string);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_withdrawalapply;
    }
}
